package com.dy.nygl.service;

import java.util.List;

import com.dy.nygl.pojo.CostAnalysis;

public interface CostAnalysisService {
	
	public int addCost(CostAnalysis record);
	
	public int updateCost(CostAnalysis record);

	public int deleteCost(int id);
	
	public List<String> selectEnergyType();
	
	public List<Double> selectPrice();
	
	public List<CostAnalysis> selectAll();
	
	public CostAnalysis selectOne(Integer id);
	
	public Integer selectCode();

	public String checkEneryType(String type);

//	public void costAndmachine(List<Integer> machine, String object);

}
